﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MS.Common.Domain
{
    /// <summary>
    /// 商品表
    /// </summary>
    [Table("ShangPin")]
    public class ShangPin
    {
        /// <summary>
        /// 商品Id
        /// </summary>
        [Key]
        public int ShangPinId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ShangPinName { get; set; }
        /// <summary>
        /// 商品生产批次
        /// </summary>
        public string ShangPinPiCi { get; set; }
        /// <summary>
        /// 商品保质期
        /// </summary>
        public int ShangPinBaoZhi { get; set; }
        /// <summary>
        /// 商品生产许可证
        /// </summary>
        public string ShangPinXuKe { get; set; }
        /// <summary>
        /// 商品生产企业
        /// </summary>
        public string ShangPinQiYe { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string ShangPinImage { get; set; }
    }
}
